//
//  comentStrin.swift
//  weibo
//
//  Created by 王玉东 on 16/4/10.
//  Copyright © 2016年 wyd. All rights reserved.
//

import Foundation
import UIKit


let client_id = "2367659728"
let redirect_uri = "http://baidu.com"
let client_secret = "fdfea29fcb515c70006fbb445665dca0"
let ScreenHeight = UIScreen.mainScreen().bounds.height
let ScreenWidth = UIScreen.mainScreen().bounds.width
let WYSwitchRootViewController = "SwitchRootViewController"
//添加随机色
func randomColor() -> UIColor {
    let r = CGFloat(random() % 256) / 255
    let g = CGFloat(random() % 256) / 255
    let b = CGFloat(random() % 256) / 255
    return UIColor(red: r, green: g, blue: b, alpha: 1)
}
let sharedDF = NSDateFormatter()